#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{

	int arr[3] = { 0 };
	for (int i = 0; i <= 2; i++)
	{
		scanf("%d", &arr[i]);
	}

	for (int i = 0; i < 2; i++)
	{
		for (int j = 0; j < 2 - i; j++)
		{
			if (arr[j] > arr[j + 1])
			{
				int temp = arr[j+1];
				arr[j + 1] = arr[j];
				arr[j] = temp;

			}
		}

	}

	for (int i = 0; i <= 2; i++)
	{
		printf("%d ", arr[i]);

	}
	return 0;
}